Radio Button (Freeform) Control Syntax
Syntax
( Variable_Name : Prompt [ ! Change_Event ][ ? Enabled ] )
Arguments
- Variable_Name
Character. A character variable to receive the user selection.
- Prompt
Character. The text label associated with the radio button.
- (:)
Character. The colon " : " and leading ( and trailing ) characters are required.
- Event
Character. Optional. See Event Syntax.
- Enabled
Character. Optional. See Enabled Syntax.
Description
One or more Radio Button objects may appear inside the Format section of a UI_DLG_BOX() function.
You must not have any space characters in the finished command.
Example
The following script demonstrates the use of freeform radio controls:
dim shipto as C shipto = "Work" result = ui_dlg_box("Title",<<%dlg% Ship order to:; (shipto:Home); Ship the order to my home address.; (shipto:Work); Ship the order to my work address.; (shipto:Other); Address: %M%.30,5address; %dlg%)
See Also